package com.focus.xyz.other.pages.tpytb;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * Created by chenmeng on 2016/3/30.
 */
public class MainPage {
    @FindBy(xpath = "//*[@id=\"qm0\"]/a[1]/span")
    private WebElement tbBtn;

    /*public MainPage(WebDriver driver){
        PageFactory.initElements(driver,this);
    }*/

    public void clickTb() throws Exception{
        this.tbBtn.click();
    }

}
